DevForce Help Reference
PageFetching Event


Fired whenever a datasource query is about to be executed.
Syntax
'Declaration
 
Public Event PageFetching As EventHandler(Of EntityQueryPageFetchingEventArgs(Of T))
'Usage
 
Dim instance As EntityQueryPager(Of T)
Dim handler As EventHandler(Of EntityQueryPageFetchingEventArgs(Of T))
 
AddHandler instance.PageFetching, handler
Event Data

The event handler receives an argument of type EntityQueryPageFetchingEventArgs<T> containing data related to this event. The following EntityQueryPageFetchingEventArgs<T> properties provide information specific to this event.

PropertyDescription
PageIndex The index of the page for which the query will be run.  
Query The query to be executed.  
Remarks
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityQueryPager<T> Class
EntityQueryPager<T> Members

Send Feedback